package com.ldj.tim.gateway.exception;

import lombok.Data;

/**
 * @author majinhui
 * @description
 * @create 2024/11/11 14:52
 **/
public class LogicException extends RuntimeException{
    private Integer code;
    private String msg;
    public LogicException(String msg) {
        this.code = 401;
        this.msg = msg;
        throw new LogicException(msg);
    }
}
